import request from '@/utils/request';

// 分润列表
export function getList(data) {
  return request({
    url: '/share/list',
    data
  });
}

// 结算记录
export function getSettleLog(data) {
  return request({
    url: '/share/settleLog',
    data
  });
}

// 结算
export function settle(data) {
  return request({
    url: '/share/settle',
    data
  });
}

// 首页统计
export function dashboard(data) {
  return request({
    url: '/share/dashboard',
    data
  });
}

/** 饼图 */
export function pieData(data) {
  return request({
    url: '/share/pieData',
    data
  });
}
